package ran.service.sysuser;

import ran.entity.Result;
import ran.domain.sysuser.dto.SysUserSaveDTO;
import ran.vo.LoginUserVO;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ran
 * Date: 2025-10-03
 * Time: 14:42
 */
public interface ISysUserService {
    Result<String> login(String userAccount, String password);

    int add(SysUserSaveDTO sysUserSaveDTO);

    Result<LoginUserVO> info(String token);

    boolean logout(String token);
}
